package edu.whut.mall.common.vo;


import edu.whut.mall.common.enums.FileType;
import lombok.Data;

import java.util.Date;
/**
 * Author: smq
 * Unit: D9lab
 * Date: 2021-06-07 16:15
 */
@Data
public class FileVo {
    private int id;
    private String url;
    private Date createTime;
    private Integer isDeleted;
    private FileType type;

    public FileVo(String url,FileType fileType) {
        this.url = url;
        this.createTime = new Date();
        this.isDeleted = 0;
        this.type = fileType;
    }


}
